import * as actionType from '@/store/actions/actionType'
const shopcartReducer=(state={shopcartList:[]},action)=>{
    switch(action.type){
        case actionType.GETSHOPCARTLIST:
            return {...state,shopcartList:action.payload}
        default:
            return state
    }
}
export default shopcartReducer